//
//  AnchorGroup.swift
//  liveDemo
//
//  Created by satoshi_uma on 2020/10/23.
//  Copyright © 2020 satoshi_uma. All rights reserved.
//

import UIKit

class AnchorGroup: NSObject {
    
    var title: String = ""
    var time: String = ""
    var src: String = ""
    var category: String = ""
    var pic: String = ""
    var content: String = ""
    var url: String = ""
    var weburl: String = ""

    init(dict: [String: NSObject]) {
        super.init()

        title = dict["title"] as! String
        time = dict["time"] as! String
        src = dict["src"] as! String
        category = dict["category"] as! String
        pic = dict["pic"] as! String
        content = dict["content"] as! String
        url = dict["url"] as! String
        weburl = dict["weburl"] as! String
 
//        setValuesForKeys(dict)
    }

//    override func setValue(_ value: Any?, forUndefinedKey key: String) { }
}
